/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model.dao.services;

import java.util.List;
import model.enetities.NewsCategory;

/**
 *
 * @author Hieu.Nguyen
 */
public interface NewsCategoryDAOservice {
    public List<NewsCategory> getNewsCategory(boolean isActived);
    public NewsCategory getNewsCategoryByID(int idCategory,boolean isActived);
    public boolean createrNewsCategory(NewsCategory category);
    public boolean updateNewsCategory(NewsCategory category);
    public boolean deleteNewsCategory(int idCategory);
}
